package com.xjrsoft.module.customerTwo.ycode.t_ycode_master_data_standard_detail.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import com.xjrsoft.common.Enum.TransDataType;
import com.xjrsoft.common.annotation.DataTrans;
import io.swagger.annotations.ApiModel;

/**
 * 视图实体类
 *
 * @author dongxinhang
 * @since 2024-07-17
 */
@Data
@ApiModel(value = "列表TYcodeMasterDataStandardDetailVo对象", description = "列表TYcodeMasterDataStandardDetailVo对象")
public class TYcodeMasterDataStandardDetailListVo {

    @JsonProperty("id")
    private String id;

    @JsonProperty("standard_id")
    private String standardId;

    @JsonProperty("order_num")
    private Integer orderNum;

    @JsonProperty("code")
    private String code;

    @JsonProperty("name")
    private String name;

    @JsonProperty("type")
    @DataTrans(dataType = TransDataType.DATA_ITEM, dataCode = "master_data_standard_type", multi = false)
    private String type;

    @JsonProperty("unit_code")
    private String unitCode;

    @JsonProperty("unit_name")
    @DataTrans(dataType = TransDataType.DATA_SOURCE, dataCode = "072735408f5a64367b087cf99486070c", savedField = "name", showField = "name", multi = false)
    private String unitName;


}
